package com.kaiwukj.android.ufamily.mvp.http.entity.event;

public class HttpErrorEvent {

    private String errMsg;
    private Throwable throwable;

    public HttpErrorEvent() {
    }

    public HttpErrorEvent(String errMsg) {
        this.errMsg = errMsg;
    }

    public HttpErrorEvent(String errMsg, Throwable throwable) {
        this.errMsg = errMsg;
        this.throwable = throwable;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Throwable getThrowable() {
        return throwable;
    }

    public void setThrowable(Throwable throwable) {
        this.throwable = throwable;
    }
}
